Piwik\DataAccess\Model C

Total Complexity 110
Dependencies 21
Dependents 18
Total lines 937
Lines of code 608
Logical lines of code 353
Comment lines 124
Methods 37
Properties 2

Methods 37

Method Rating Maintainability Complexity Lines of code
updateArchiveAsInvalidated()
C
31 23 108
getInvalidatedArchiveIdsSafeToDelete()
A
45 10 43
updateRangeArchiveAsInvalidated()
S
50 5 27
createArchiveTable()
S
55 5 20
startArchive()
S
48 4 34
hasInvalidationForPeriodAndName()
S
54 4 23
getArchiveIdsForSegments()
S
57 4 17
getDeletedSegmentWhereClause()
S
56 4 16
getNextInvalidatedArchive()
S
54 3 22
getArchiveIdsForDeletedSites()
S
55 3 19
deleteArchivesWithPeriod()
S
55 3 19
hasChildArchivesInPeriod()
S
55 3 18
deleteOlderArchives()
S
56 3 16
getArchiveIdAndVisits()
S
52 2 27
isSimilarArchiveInProgress()
S
55 2 20
isArchiveAlreadyInProgress()
S
56 2 18
deleteArchiveIds()
S
57 2 17
getExistingInvalidations()
S
57 2 15
getRemoveInvalidationsIdSitesClause()
S
64 3 9
getNameCondition()
S
64 2 9
__construct()
S
75 2 4
getSitesWithInvalidatedArchive()
S
65 2 9
allocateNewArchiveId()
S
65 2 10
isCutOffGroupConcatResult()
S
73 2 4
resetFailedArchivingJobs()
S
62 1 11
insertRecord()
S
63 1 10
updateArchiveStatus()
S
73 1 5
deleteInvalidations()
S
67 1 7
removeInvalidationsLike()
S
68 1 6
removeInvalidations()
S
68 1 6
getInstalledArchiveTables()
S
71 1 5
getTemporaryArchivesOlderThan()
S
67 1 8
makeExistingInvalidationArrayKey()
S
77 1 3
deleteInvalidationsForSites()
S
69 1 6
deleteInvalidationsForDeletedSites()
S
70 1 6
getPlaceholderArchiveIds()
S
70 1 6
releaseInProgressInvalidation()
S
71 1 5